package com.ruoyi.tsjData.domain.plat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.convert.ArrayToJsonDeserializer;
import com.ruoyi.common.convert.BoolToStringDeserializer;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.pad.ChartLineDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 提升机-调压性能测试计算油压差值
 * 
 * @author ruoyi
 * @date 2023-10-25
 */
@ApiModel(value = "提升机-调压性能测试计算油压差值")
public class TshjTyxnJs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 调压性能测试ID */
    private Long tyxnId;

    /** 是否贴闸电流（0非贴闸电流 1贴闸电流） */
    @Excel(name = "是否贴闸电流", readConverterExp = "0=非贴闸电流,1=贴闸电流")
    @JsonDeserialize(using = BoolToStringDeserializer.class)
    @ApiModelProperty(value = "是否贴闸电流")
    private String zhadl;


    /** 生成的油压1前段曲线 */
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private ChartLineDTO yy1BeforeLineDTO;

    /** 生成的油压1后段曲线 */
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private ChartLineDTO yy1AfterLineDTO;

    /** 生成的油压2前段曲线 */
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private ChartLineDTO yy2BeforeLineDTO;

    /** 生成的油压2后段曲线 */
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private ChartLineDTO yy2AfterLineDTO;

    public Long getTyxnId() {
        return tyxnId;
    }

    public void setTyxnId(Long tyxnId) {
        this.tyxnId = tyxnId;
    }

    public String getZhadl() {
        return zhadl;
    }

    public void setZhadl(String zhadl) {
        this.zhadl = zhadl;
    }

    public ChartLineDTO getYy1BeforeLineDTO() {
        return yy1BeforeLineDTO;
    }

    public void setYy1BeforeLineDTO(ChartLineDTO yy1BeforeLineDTO) {
        this.yy1BeforeLineDTO = yy1BeforeLineDTO;
    }

    public ChartLineDTO getYy1AfterLineDTO() {
        return yy1AfterLineDTO;
    }

    public void setYy1AfterLineDTO(ChartLineDTO yy1AfterLineDTO) {
        this.yy1AfterLineDTO = yy1AfterLineDTO;
    }

    public ChartLineDTO getYy2BeforeLineDTO() {
        return yy2BeforeLineDTO;
    }

    public void setYy2BeforeLineDTO(ChartLineDTO yy2BeforeLineDTO) {
        this.yy2BeforeLineDTO = yy2BeforeLineDTO;
    }

    public ChartLineDTO getYy2AfterLineDTO() {
        return yy2AfterLineDTO;
    }

    public void setYy2AfterLineDTO(ChartLineDTO yy2AfterLineDTO) {
        this.yy2AfterLineDTO = yy2AfterLineDTO;
    }
}
